package com.ruoyi.teaching.domain.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableName;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
  * <p>
  *
  * </p>
  *
  * @author 王旭
  * @since 2025-03-04
  */
@Data
@TableName("platform_e_event_apply")
@ApiModel(value="PlatformEEventApply对象", description="")
public class PlatformEEventApplyVO implements Serializable {
    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "报名信息id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "赛事id")
    @NotNull(message = "获取赛事失败")
    private Long eventId;

    @ApiModelProperty(value = "姓名")
    @NotBlank(message = "请输入名字")
    private String name;

    @ApiModelProperty(value = "身份（0学生1老师）")
    @NotNull(message = "请选择您的身份")
    private Integer identityType;

    @ApiModelProperty(value = "学校")
    @NotBlank(message = "请输入学校")
    private String schoolName;

    @ApiModelProperty(value = "专业")
    @NotBlank(message = "请输入专业")
    private String majorName;

    @ApiModelProperty(value = "指导老师（逗号分割）")
    private List<String> adviserTeacher;

    @ApiModelProperty(value = "联系电话")
    @NotBlank(message = "请输入您的联系方式")
    private String phoneNum;

    @ApiModelProperty(value = "创建者id")
    private Integer createId;

    @ApiModelProperty(value = "创建者")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "更新者id")
    private Integer updateId;

    @ApiModelProperty(value = "更新者")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    @ApiModelProperty(value = "备注")
    private String remark;



}
